package com.stars.questions.deptQuestion.publish.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.stars.base.entity.BaseEntity;

import java.util.List;

/**
 * zhaoyh
 * 回复数据实体类
 */
@TableName("QUESTION_REPLY")
public class Reply extends BaseEntity {

    private String id;
    @TableField("IP")
    private String ip;
    @TableField("CONFIGID")
    private String configId;
    @TableField("YEAR")
    private String year;
    @TableField("BT")
    private String bt;
    @TableField("USERNAME")
    private String userName;
    @TableField("AGE")
    private String age;
    @TableField("MOBILE")
    private String mobile;
    @TableField("ADDRESS")
    private String address;
    @TableField("EMAIL")
    private String email;
    @TableField("WORK")
    private String work;
    @TableField("CARDID")
    private String cardId;
    @TableField("AGENT")
    private String agent;//request.getHeader("User-Agent")
    @TableField(exist = false)
    private List<ReplySub> questions;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getConfigId() {
        return configId;
    }

    public void setConfigId(String configId) {
        this.configId = configId;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getBt() {
        return bt;
    }

    public void setBt(String bt) {
        this.bt = bt;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public List<ReplySub> getQuestions() {
        return questions;
    }

    public void setQuestions(List<ReplySub> questions) {
        this.questions = questions;
    }

    public String getAgent() {
        return agent;
    }

    public void setAgent(String agent) {
        this.agent = agent;
    }
}
